package part2;

/**
 * @Author juzipi
 * @Date 2021/6/26 16:00
 * @Info
 */
public class Person {

    String name;
    int age;

    public Person(){

    }

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public void eat(){
        System.out.println("吃");
    }

    public void sleep(){
        System.out.println("睡觉");
    }

}
